/*
 * wxRenameDialog.hpp
 *
 *  Created on: Jun 6, 2013
 *      Author: ken
 */

#ifndef RENAMEDIALOG_HPP_
#define RENAMEDIALOG_HPP_

#include "wx/wx.h"
#include "wxDefaultValues.hpp"
#include "ClientCommands.hpp"
#include "WxClient.hpp"

class RenameDialog: public wxDialog {
public:
	RenameDialog(const wxString& title, std::string file, std::string path, ClientCommands cc, MainFrame *parent);
	RenameDialog(const wxString& title, std::string file, std::string path, MainFrame *parent);
	void renameFile(wxCommandEvent& event);
	void close(wxCommandEvent& event);

	wxButton *okButton;
	wxButton *closeButton;

private:
	MainFrame *parent;
	ClientCommands cc;
	std::string path;
	std::string file;
	wxTextCtrl *tc;
	bool toServer;


	DECLARE_EVENT_TABLE()

};

#endif /* RENAMEDIALOG_HPP_ */
